package day09_modi.demo13_Peptides;

public class Animal {
    private int age;
    private String name;
    private String sex;
    private String kind;
public void eat(){
    System.out.println("动物吃东西");
}
    public Animal() {
    }

    public Animal(int age, String name, String sex, String kind) {
        this.age = age;
        this.name = name;
        this.sex = sex;
        this.kind = kind;
    }

    public int getId() {
        return age;
    }

    public void setId(int id) {
        this.age = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getKind() {
        return kind;
    }

    public void setKind(String kind) {
        this.kind = kind;
    }
}
